package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;


/**
 * @author zhuliang
 * @version V1.0
 * @Description: 运维管理-消息管理
 * @date 2020-11-16 17：53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "运维管理-消息管理")
@Component
public class CcmsSmartleasingMessage implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "pk_message_id")
    private String pkMessageId;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为'false'")
    private Byte deleteSign;

    @ApiModelProperty(value = "报警提示")
    private String alarm;

    @ApiModelProperty(value = "设备，外键id")
    private String fkDeviceManagementId;

    @ApiModelProperty(value = "报警时间")
    private Date alarmTime;

    @ApiModelProperty(value = "设备信息实体")
    @TableField(exist = false)
    private CcmsSmartleasingDeviceManagement deviceManagement;

    private static final long serialVersionUID = 1L;

}
